package audi.a4.control.gui;

import java.awt.Dimension;

import javax.swing.JFrame;

import audi.a4.control.core.AudiA4CanCode;

public class MainEntryPoint {
	private MainEntryPoint() {
		System.out.println("Main Entry Starting...");
		
		JFrame frame;
		frame = new JFrame("Audi Data Display");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setSize(new Dimension(720,900));
		frame.add(new ContentPanel());
		//frame.pack();
		frame.setLocationRelativeTo(null);
		//This sets up an icon, not nessissary now
		//frame.setIconImage( ConnectionImageIconFactory.getIcon("images/hat.png").getImage()); 
		frame.setVisible(true);
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			new MainEntryPoint();
		}catch (Exception ex) {
			ex.printStackTrace();
			System.exit(0);
		}
	}

}
